package main

import (
	"fmt"
	"github.com/tealeg/xlsx"
)

func main() {
	//新建excel
	file := xlsx.NewFile()
	_, err := file.AddSheet("first")
	err = file.Save("F:/test.xlsx")
	if err != nil {
		fmt.Println("excel保存失败", err)
	}
}
